
package com.bei_en.teacher.management.model.system.vo;

import com.bei_en.teacher.management.model.BaseVo;
import com.bei_en.teacher.management.model.system.bean.SystemResource;

/**
 * 用于前端页面数据传递
 * 后台权限相关资源
 * @author Guocg
 * @date 2016-3-23 14:10:20
 */
public class SystemResourceRespVo extends BaseVo {

    private Integer id; // id
    private String name; // 名称
    private Integer parId; // 上级id
    private Integer type; // 类型,1,菜单,2,功能
    private Integer order1; // 排序

    /**
     *
     */
    public SystemResourceRespVo(SystemResource v) {

	this.id = v.getId();
	this.name = v.getName();
	this.parId = v.getParId();
	this.type = v.getType();
	this.order1 = v.getOrder1();
    }

    public Integer getId() {

	return id;
    }

    public void setId(Integer id) {

	this.id = id;
    }

    public String getName() {

	return name;
    }

    public void setName(String name) {

	this.name = name;
    }

    public Integer getParId() {

	return parId;
    }

    public void setParId(Integer parId) {

	this.parId = parId;
    }

    public Integer getType() {

	return type;
    }

    public void setType(Integer type) {

	this.type = type;
    }

    public Integer getOrder1() {

	return order1;
    }

    public void setOrder1(Integer order1) {

	this.order1 = order1;
    }

}